EETI Linux Command Tool: eGalax update tool

!!! Warning: When execute update firmware tool, please don't touch the screen !!!

root@jimmy-virtual-machine:/mnt/hgfs/ShareFolder# ./eUpdate2 -h
Usage:
	 eUpdate2 -p [DevNodePath] [Options]
	 -v 		 show tool version.
	 -d 		 show debug message.
	 -f 		 set firmware path.
	 -i 		 Tool will search the correct ini file to test automatically. But you can use this parameter to assign the ini file manually.
	 -t 		 set retry times.
	 -l 		 list the current controller information.
	 -S 		 set the controller serial number.
	 -G 		 get the controller serial number.
	 -M 		 Check model name between controller and firmware image.
	 -P 		 set log path.


root@jimmy-virtual-machine:/mnt/hgfs/ShareFolder# ./eUpdate2 -v
Tool version:	v0.03_20140911
APILIB version:	v1.0.25.0911

Note:
	Tool will search device node path automatically, so need check device node path exist. Or you can use parameter "-p" to assign path manually.
	USB interface: /dev/hidrawX
	I2C interface: /dev/egalax_i2c


Update firmware procedure:
	root@jimmy-virtual-machine:/mnt/hgfs/ShareFolder# ./eUpdate2 -f PCAP3062_TTI_10.1_22x36_0048_USB_T2.32i 
	Open device /dev/hidraw1 done.
	Controller Info:
		Type Name:		PCAP3062 Industry
		Model Name:		Sirius_0048
		FW Version:		02
		CRC:			0xCDA6
		Parameter Version:	00.00
		Parameter CRC:		0x1B14

	File: read - 0048_79fb.ini
	Start Update Firmware:
	Update Firmware done.
	Controller Info:
		Type Name:		PCAP3062 Industry
		Model Name:		Sirius_0048
		FW Version:		02
		CRC:			0xCDA6
		Parameter Version:	00.00
		Parameter CRC:		0x1B14

	Read Parameter done.
	Start testing:
	File: read - 0048_79fb.ini
	 HW Signal:				Pass
	 Create UTable:			Pass
	root@jimmy-virtual-machine:/mnt/hgfs/ShareFolder#


INI file setting:
	eGalax update tool will read section "[eGalaxUpdate Tool Parameter]" in ini file.
	If current firmware in touch controller is different with setting in ini file, eGalax update tool will execute update firmware procedure and execute "HW Signal" & "Create UTable" procedure.
	If current firmware in touch controller is same with setting in ini file, eGalax update tool will only execute "HW Signal" & "Create UTable" procedure.


Return Value:
	 0: Update firmware procedure success.
	-1: Update firmware procedure fail.
